//
//  KFActor.mm
//  Keyframe
//
//  Created by Alex Carter on 23/06/09.
//  Copyright 2009 __MyCompanyName__. All rights reserved.
//

#import "KFActor.h"


@implementation KFActor
@synthesize name;
@synthesize viewObject;

+(NSString*) defaultName
{
    static NSInteger instanceCount = 0;
    instanceCount++;
    return [NSString stringWithFormat:@"Untitled Actor %d",instanceCount];
}

- (id) init
{
    self = [super init];
    if (self != nil) {
        self.name = [KFActor defaultName];
    }
    return self;
}


- (void) dealloc
{
    self.name = nil;
    self.viewObject = nil;
    [super dealloc];
}

@end
